package com.wanghai.carwashing.common.helper;

import java.io.Serializable;

/**
 * 通过HTTP访问的返回结果
 * @author 王海
 */
public class HttpResult implements Serializable{
    /**
     * 返回状态
     */
    private int status ;
    /**
     * 返回实体
     */
    private Object entity;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getEntity() {
        return entity;
    }

    public void setEntity(Object entity) {
        this.entity = entity;
    }

    @Override
    public String toString() {
        return "HttpResult{" + "status=" + status + ", entity=" + entity + '}';
    }
    
    
}
